﻿using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using X.Core.Bases;

namespace X.Core.Models
{
    public class ListModel<T> : ModelBase
    {
        public ListModel() : base()
        {
            
        }

        #region 'Fields'
        T _data;
        T _data2;
        double _min;
        double _max;
        #endregion

        #region 'Properties'
        public T Data { get => _data; set => SetProperty(ref _data, value); }
        public T Data2 { get => _data2; set => SetProperty(ref _data2, value); }
        public double Min { get => _min; set => SetProperty(ref _min, value); }
        public double Max { get => _max; set => SetProperty(ref _max, value); }
        public JObject JObject { get; set; }
        #endregion
    }
}
